package com.allprs.common.core.domain.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 热点数据表(HotspotData)实体类
 *
 * @author wjf
 * @since 2021-10-18 15:05:44
 */
public class HotspotData implements Serializable {
    private static final long serialVersionUID = -82008069092580853L;
    /**
     * id
     */
    private Integer id;
    /**
     * 场景ID
     */
    private Integer volumeId;
    /**
     * 热点名称
     */
    private String name;
    /**
     * 空间坐标
     */
    private String matrix;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVolumeId() {
        return volumeId;
    }

    public void setVolumeId(Integer volumeId) {
        this.volumeId = volumeId;
    }

    @NotBlank(message = "名称不能为空")
    @Size(min = 1, max = 15, message = "名称长度不能超过15个字符")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMatrix() {
        return matrix;
    }

    public void setMatrix(String matrix) {
        this.matrix = matrix;
    }
}
